<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>新聞</title>
    <link rel="stylesheet" href="../../assets/iconfont/iconfont.css" />
    <link rel="stylesheet" href="./news.css" />
    <link rel="stylesheet" href="../../assets/common/common.css" />
    <style>
      .aa {
        color: blue;
      }
    </style>
  </head>
  <body>
    <div class="news">
      <!--頂部-->
      <header class="header pl-10 pr-10">
        <div class="icon-zuojiantou iconfont"></div>
        <span class="mr-20">新闻</span>
        <div></div>
      </header>
      <!--搜索框-->
      <div class="Search flex aic">
        <div class="input flex aic">
          <div class="icon-sousuo iconfont tubiao"></div>
          <input
            type="text"
            class="input-x"
            name=""
            id="input"
            placeholder="请输入"
          />
        </div>
      </div>
      <!--tap选项卡 主体-->
      <ul class="main">
        <li class="flex aic fdc aa" onclick="Switch(1)">
          <div class="tap f14">企业动态</div>
          <div class="bule"></div>
        </li>
        <li class="flex aic fdc" onclick="Switch(2)">
          <div class="tap f14">产品新闻</div>
          <div class="bule dsn"></div>
        </li>
        <li class="flex aic fdc" onclick="Switch(3)">
          <div class="tap f14">行业信息</div>
          <div class="bule dsn"></div>
        </li>
        <li class="flex aic fdc" onclick="Switch(4)">
          <div class="tap f14">媒体报告</div>
          <div class="bule dsn"></div>
        </li>
      </ul>
      <!--主体2-->
      <div class="main2">
        <a href="./News-detail.html" class="mian-tow">
          <img
            src="../../assets/img/chenyuxu/u1017.png"
            alt=""
            class="img ml-15"
          />
          <div class="status h100 fdc jc-sa pb-5 pt-5 ml-20">
            <div class="f14 span">我司入选“2017中关村高成长企业TOP100”</div>
            <div class="X-icon">
              <div class="small-icons">
                <div class="icon-duoren iconfont"></div>
                <span class="f10">100</span>
              </div>
              <div class="small-icons ml-20">
                <div class="icon-wodeshoucang iconfont"></div>
                <span class="f10">100</span>
              </div>
            </div>
          </div>
        </a>
        <a href="./News-detail.html" class="mian-tow">
          <img
            src="../../assets/img/chenyuxu/u1017.png"
            alt=""
            class="img ml-15"
          />
          <div class="status h100 fdc jc-sa pb-5 pt-5 ml-20">
            <div class="f14 span">我司入选“2017中关村高成长企业TOP100”</div>
            <div class="X-icon">
              <div class="small-icons">
                <div class="icon-duoren iconfont"></div>
                <span class="f10">100</span>
              </div>
              <div class="small-icons ml-20">
                <div class="icon-wodeshoucang iconfont"></div>
                <span class="f10">100</span>
              </div>
            </div>
          </div>
        </a>
      </div>
    </div>
  </body>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  <script>
    // 点击切换
    $("ul").on("click", "li", function () {
      $(this).addClass("aa").siblings().removeClass("aa");
      $(this).find(".bule").show();
      $(this).siblings().find(".bule").hide();
    });
  </script>
</html>
